﻿@if (ViewBag.Status == "edit" || ViewBag.Status == "")
{
    if (ViewBag.PassAudit == false)
    {
    <table style="border: 0px;">
        <tr>
            <td>
                <div class="button">
                    <div class="btn-inner">
                        <span><em>
                            <button type="submit" name="buttonsave">
                                <img src="/assets/img/icons/disk_black.png" alt="" />保存数据</button>
                        </em></span>
                    </div>
                </div>
            </td>
            @if (ViewBag.HideButton2 == null)
            {
                <td>
                    <div class="button">
                        <div class="btn-inner">
                            <span><em>
                                <button type="submit" name="buttonredirect">
                                    <img src="/assets/img/icons/disk_black.png" alt="" />保存数据进入下一步</button>
                            </em></span>
                        </div>
                    </div>
                </td>
            }
            @if (ViewBag.HasQuestion != null && ViewBag.HasQuestion == true)
            {
                <td>
                    <div class="button">
                        <div class="btn-inner">
                            <span><em>
                                <button type="submit" name="buttonquestion">
                                    <img src="/assets/img/icons/disk_black.png" alt="" />修改质疑申请复核</button>
                            </em></span>
                        </div>
                    </div>
                </td>
            }
        </tr>
    </table>
    }
}
else if (ViewBag.Status == "audit")
{
    if (ViewBag.PassAudit == false)
    {
    <table style="border: 0px;">
        <tr>
            <td width="30%">
                <div class="button">
                    <div class="btn-inner">
                        <span><em>
                            <button type="submit" name="auditbutton" value="1">
                                <img src="/assets/img/icons/disk_black.png" alt="" />审核通过</button>
                        </em></span>
                    </div>
                </div>
            </td>
            <td width="30%">
                <div class="button">
                    <div class="btn-inner">
                        <span><em>
                            <button type="submit" name="auditbutton" value="2">
                                <img src="/assets/img/icons/disk_black.png" alt="" />强制审核通过</button>
                        </em></span>
                    </div>
                </div>
            </td>
            <td width="30%">
                <div class="button">
                    <div class="btn-inner">
                        <span><em>
                            <button type="submit" name="auditbutton" value="0">
                                <img src="/assets/img/icons/disk_black.png" alt="" />审核未通过</button>
                        </em></span>
                    </div>
                </div>
            </td>
        </tr>
    </table>
    }
    else
    {
    <table style="border: 0px;">
        <tr>
            <td width="30%">
            </td>
            <td width="30%">
            </td>
            <td width="30%">
                <div class="button">
                    <div class="btn-inner">
                        <span><em>
                            <button type="submit" name="auditbutton" value="0">
                                <img src="/assets/img/icons/disk_black.png" alt="" />撤销审核</button>
                        </em></span>
                    </div>
                </div>
            </td>
        </tr>
    </table>
    }
}